export default {
  createLabel:{//创建标签
    url:'/core/userLabel/create',
    require:['token','clientid','name']//data,parentId
  },
  getLabel:{//获取标签
    url: '/core/userLabel/get',
    require: ['token','clientid','id']//getParentLabels(true,false)
  },
  updateLabel:{//更新修改标签
    url: '/core/userLabel/update',
    require: ['token','clientid','id']//name,enabled,parentId,data
  },
  getLabelList:{//获取标签列表
    url:'/core/userLabel/list',
    require:['token','clientid']
  },
  getUserLabels:{//获取用户标签
    url:'/core/userLabel/getUserLabels',
    require:['token','clientid','userId']
  },
  setUserLabels:{//设置用户标签
    url: '/core/userLabel/setUserLabel',
    require:['token','clientid']
  },
  deleteAndUpdate:{//删除标签并更新标签下的子标签，把所删标签下的子标签往上移一级
    url: '/core/userLabel/deleteAndUpdate',
    require:['token','clientid','id']
  },
  deleteFamily:{//删除标签并删除标签下的子标签，删除标签及下级标签
    url: '/core/userLabel/deleteFamily',
    require:['token','clientid','id']
  },
}
